package com.springboot.demo.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@Controller
public class EsController {

    private String sa;
    @ApiOperation(value = "测试方法", notes = "根据url的id来获取用户详细信息")
    @RequestMapping("es")
    public String es() {
        return "sdf";
    }
}
